#ifndef COMPILE_ONLINE
#include "header.cc"
#endif


void test1()
{
    vector<int> v{1, 2, 3, 4, 5};
    int ret = Solution().MaxNum(v);
    if(ret == 5)
    {
        cout << "test1 success! v:" << "{1, 2, 3, 4, 5}" << endl;
    }
    else
    {
        cout << "test1 failed! v:" << "{1, 2, 3, 4, 5}" << endl;
    }
}

void test2()
{
    vector<int> v{1, 2, 3, -2, -3};
    int ret = Solution().MaxNum(v);
    if(ret == 3)
    {
        cout << "test2 success! v:" << "{1, 2, 3, -2, -3}" << endl;
    }
    else
    {
        cout << "test2 failed! v:" << "{1, 2, 3, -2, -3}" << endl;
    }
}

int main()
{
    test1();
    test2();

    return 0;
}